package com.example.teacherservice.repository;

import com.example.teacherservice.entity.StuCourseAppraise;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StuCourseAppraiseRepository extends JpaRepository<StuCourseAppraise, Long> {
    List<StuCourseAppraise> findByCourseId(Long courseId);
    List<StuCourseAppraise> findByStudentId(Long studentId);
}